# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class DscrapyItem(scrapy.Item):
    # define the fields for your item here like:
    name = scrapy.Field()
    age = scrapy.Field()
    title = scrapy.Field()
    # pass



if __name__ == '__main__':
    ditem = DscrapyItem()
    ditem["name"] = "mary"
    ditem["age"] = "89"
    ditem["title"] = "iuyt"
    print(ditem)
    #ditem["namee"] = "ui"
    #报错